home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _7B37FDC8D3BC4141860EB35B0BE32AF8 < prev    next >
Encoding:
Text File  |  2002-06-14  |  13.0 KB  |  733 lines

  1. {
  2.     assetGlobalDef 
  3.     {
  4.         fadeClamp        1.0                                // sets the fadeup alpha
  5.         fadeCycle        1                                // how often fade happens in milliseconds
  6.         fadeAmount        0.1                                // amount to adjust alpha per cycle
  7.                         
  8.         shadowX            5                                // x amount for shadow offset
  9.         shadowY            5                                // y amount for shadow offset
  10.         shadowColor        0.1 0.1 0.1 0.25                // shadow color
  11.  
  12.         defaultFont        "hud"
  13.     }
  14.  
  15.     // Thermal vision
  16.     menuDef
  17.     {
  18.         name        "thermalvision"
  19.         fullScreen    0
  20.         visible        1
  21.         rect        0 0 640 480
  22.  
  23.         itemDef
  24.         {
  25.             style        WINDOW_STYLE_FILLED
  26.             rect        0 0 16 480
  27.             backcolor    0 0 0 1
  28.             visible        1
  29.             decoration
  30.  
  31.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  32.         }
  33.  
  34.         itemDef
  35.         {
  36.             style        WINDOW_STYLE_FILLED
  37.             rect        624 0 16 480
  38.             backcolor    0 0 0 1
  39.             visible        1
  40.             decoration
  41.  
  42.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  43.         }
  44.  
  45.         itemDef
  46.         {
  47.             style        WINDOW_STYLE_FILLED
  48.             rect        0 0 640 60
  49.             backcolor    0 0 0 1
  50.             visible        1
  51.             decoration
  52.  
  53.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  54.         }
  55.  
  56.         itemDef
  57.         {
  58.             style        WINDOW_STYLE_FILLED
  59.             rect        0 420 640 60
  60.             backcolor    0 0 0 1
  61.             visible        1
  62.             decoration
  63.  
  64.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  65.         }
  66.  
  67.         itemDef
  68.         {
  69.             style        WINDOW_STYLE_SHADER
  70.             rect        16 60 304 180
  71.             background    "gfx/menus/hud/thermal/thermal_background"
  72.             backcolor    1 1 1 1
  73.             visible        1
  74.             decoration
  75.  
  76.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  77.         }
  78.  
  79.         itemDef
  80.         {
  81.             name        window
  82.             style        WINDOW_STYLE_FILLED
  83.             rect        624 60 -304 180
  84.             background    "gfx/menus/hud/thermal/thermal_background"
  85.             backcolor    1 1 1 1
  86.             visible        1
  87.             decoration
  88.  
  89.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  90.         }
  91.  
  92.         itemDef
  93.         {
  94.             name        window
  95.             style        WINDOW_STYLE_FILLED
  96.             rect        16 420 304 -180
  97.             background    "gfx/menus/hud/thermal/thermal_background"
  98.             backcolor    1 1 1 1
  99.             visible        1
  100.             decoration
  101.  
  102.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  103.         }
  104.  
  105.         itemDef
  106.         {
  107.             name        window
  108.             style        WINDOW_STYLE_FILLED
  109.             rect        624 420 -304 -180
  110.             background    "gfx/menus/hud/thermal/thermal_background"
  111.             backcolor    1 1 1 1
  112.             visible        1
  113.             decoration
  114.  
  115.             ownerdrawflag    CG_SHOW_HUD_THERMAL
  116.         }
  117.     }
  118.  
  119.     // Night vision
  120.     menuDef
  121.     {
  122.         name        "nightvision"
  123.         fullScreen    0
  124.         visible        1
  125.         rect        0 0 640 480
  126.  
  127.         itemDef
  128.         {
  129.             style        WINDOW_STYLE_FILLED
  130.             rect        0 0 16 480
  131.             backcolor    0 0 0 1
  132.             visible        1
  133.             decoration
  134.  
  135.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  136.         }
  137.  
  138.         itemDef
  139.         {
  140.             style        WINDOW_STYLE_FILLED
  141.             rect        624 0 16 480
  142.             backcolor    0 0 0 1
  143.             visible        1
  144.             decoration
  145.  
  146.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  147.         }
  148.  
  149.         itemDef
  150.         {
  151.             style        WINDOW_STYLE_FILLED
  152.             rect        0 0 640 60
  153.             backcolor    0 0 0 1
  154.             visible        1
  155.             decoration
  156.  
  157.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  158.         }
  159.  
  160.         itemDef
  161.         {
  162.             style        WINDOW_STYLE_FILLED
  163.             rect        0 420 640 60
  164.             backcolor    0 0 0 1
  165.             visible        1
  166.             decoration
  167.  
  168.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  169.         }
  170.  
  171.         itemDef
  172.         {
  173.             style        WINDOW_STYLE_SHADER
  174.             rect        16 60 304 180
  175.             background    "gfx/menus/hud/night_vision/night_vision_background"
  176.             backcolor    1 1 1 1
  177.             visible        1
  178.             decoration
  179.  
  180.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  181.         }
  182.  
  183.         itemDef
  184.         {
  185.             name        window
  186.             style        WINDOW_STYLE_FILLED
  187.             rect        624 60 -304 180
  188.             background    "gfx/menus/hud/night_vision/night_vision_background"
  189.             backcolor    1 1 1 1
  190.             visible        1
  191.             decoration
  192.  
  193.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  194.         }
  195.  
  196.         itemDef
  197.         {
  198.             name        window
  199.             style        WINDOW_STYLE_FILLED
  200.             rect        16 420 304 -180
  201.             background    "gfx/menus/hud/night_vision/night_vision_background"
  202.             backcolor    1 1 1 1
  203.             visible        1
  204.             decoration
  205.  
  206.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  207.         }
  208.  
  209.         itemDef
  210.         {
  211.             name        window
  212.             style        WINDOW_STYLE_FILLED
  213.             rect        624 420 -304 -180
  214.             background    "gfx/menus/hud/night_vision/night_vision_background"
  215.             backcolor    1 1 1 1
  216.             visible        1
  217.             decoration
  218.  
  219.             ownerdrawflag    CG_SHOW_HUD_NIGHTVISION
  220.         }
  221.     }
  222.  
  223.     // Sniper scope
  224.     menuDef
  225.     {
  226.         name        "sniperscope"
  227.         fullScreen    0
  228.         visible        1
  229.         rect        0 0 640 480
  230.  
  231.         itemDef
  232.         {
  233.             name        window
  234.             style        WINDOW_STYLE_FILLED
  235.             rect        0 0 320 240
  236.             background    "gfx/menus/hud/scope/background/background"
  237.             backcolor    1 1 1 1
  238.             visible        1
  239.             decoration
  240.  
  241.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  242.         }
  243.  
  244.         itemDef
  245.         {
  246.             name        window
  247.             style        WINDOW_STYLE_FILLED
  248.             rect        640 0 -320 240
  249.             background    "gfx/menus/hud/scope/background/background"
  250.             backcolor    1 1 1 1
  251.             visible        1
  252.             decoration
  253.  
  254.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  255.         }
  256.  
  257.         itemDef
  258.         {
  259.             name        window
  260.             style        WINDOW_STYLE_FILLED
  261.             rect        0 480 320 -240
  262.             background    "gfx/menus/hud/scope/background/background"
  263.             backcolor    1 1 1 1
  264.             visible        1
  265.             decoration
  266.  
  267.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  268.         }
  269.  
  270.         itemDef
  271.         {
  272.             name        window
  273.             style        WINDOW_STYLE_FILLED
  274.             rect        640 480 -320 -240
  275.             background    "gfx/menus/hud/scope/background/background"
  276.             backcolor    1 1 1 1
  277.             visible        1
  278.             decoration
  279.  
  280.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  281.         }
  282.  
  283.         itemDef
  284.         {
  285.             name        window
  286.             style        WINDOW_STYLE_FILLED
  287.             rect        88 238 247 16
  288.             background    "gfx/menus/hud/scope/reticle/reticle"
  289.             backcolor    1 1 1 1
  290.             visible        1
  291.             decoration
  292.  
  293.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  294.         }
  295.  
  296.         itemDef
  297.         {
  298.             name        window
  299.             style        WINDOW_STYLE_FILLED
  300.             rect        552 238 -247 16
  301.             background    "gfx/menus/hud/scope/reticle/reticle"
  302.             backcolor    1 1 1 1
  303.             visible        1
  304.             decoration
  305.  
  306.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  307.         }
  308.  
  309.         itemDef
  310.         {
  311.             name        window
  312.             style        WINDOW_STYLE_FILLED
  313.             rect        308 9 16 247
  314.             background    "gfx/menus/hud/scope/reticle/reticle2"
  315.             backcolor    1 1 1 1
  316.             visible        1
  317.             decoration
  318.  
  319.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  320.         }
  321.  
  322.         itemDef
  323.         {
  324.             name        window
  325.             style        WINDOW_STYLE_FILLED
  326.             rect        308 471 16 -247
  327.             background    "gfx/menus/hud/scope/reticle/reticle2"
  328.             backcolor    1 1 1 1
  329.             visible        1
  330.             decoration
  331.  
  332.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  333.         }
  334.  
  335.         itemDef
  336.         {
  337.             name        window
  338.             style        WINDOW_STYLE_SHADER
  339.             rect        530 370 64 64
  340.             background    "gfx/menus/hud/scope/clip_background/clip_background"
  341.             visible        1
  342.             decoration
  343.  
  344.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  345.         }
  346.  
  347.         itemDef
  348.         {
  349.             name        window
  350.             rect        534 374 64 8
  351.             background    "gfx/menus/hud/scope/bullet/bullet"
  352.             ownerdraw    CG_PLAYER_SNIPER_BULLET_1
  353.             visible        1
  354.             decoration
  355.  
  356.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  357.         }
  358.         itemDef
  359.         {
  360.             name        window
  361.             rect        534 384 64 8
  362.             background    "gfx/menus/hud/scope/bullet/bullet"
  363.             ownerdraw    CG_PLAYER_SNIPER_BULLET_2
  364.             visible        1
  365.             decoration
  366.  
  367.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  368.         }
  369.         itemDef
  370.         {
  371.             name        window
  372.             rect        534 394 64 8
  373.             background    "gfx/menus/hud/scope/bullet/bullet"
  374.             ownerdraw    CG_PLAYER_SNIPER_BULLET_3
  375.             visible        1
  376.             decoration
  377.  
  378.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  379.         }
  380.         itemDef
  381.         {
  382.             name        window
  383.             rect        534 404 64 8
  384.             background    "gfx/menus/hud/scope/bullet/bullet"
  385.             ownerdraw    CG_PLAYER_SNIPER_BULLET_4
  386.             visible        1
  387.             decoration
  388.  
  389.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  390.         }
  391.         itemDef
  392.         {
  393.             name        window
  394.             rect        534 414 64 8
  395.             background    "gfx/menus/hud/scope/bullet/bullet"
  396.             ownerdraw    CG_PLAYER_SNIPER_BULLET_5
  397.             visible        1
  398.             decoration
  399.  
  400.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  401.         }
  402.         itemDef
  403.         {
  404.             name        window
  405.             rect        98 222 64 8
  406.             background    "gfx/menus/hud/scope/bullet/bullet"
  407.             ownerdraw    CG_PLAYER_SNIPER_MAGNIFICATION
  408.             textfont    "hud"
  409.             textscale    .5
  410.             visible        1
  411.             forecolor    .8 .8 .8 1
  412.             decoration
  413.  
  414.             ownerdrawflag    CG_SHOW_HUD_SNIPERSCOPE
  415.         }
  416.     }
  417.  
  418.     menuDef
  419.     {
  420.         name        "useicon"
  421.         fullscreen    0
  422.         visible        1
  423.            rect        250 397 200 26
  424.         
  425.         itemDef
  426.         {
  427.             name        "window"
  428.             rect        0 0 30 30
  429.             visible        1
  430.             ownerdraw    CG_USE_ICON
  431.             decoration
  432.         }
  433.  
  434.         
  435.         itemDef
  436.         {
  437.             name        "window"
  438.             rect        2 2 26 26
  439.             visible        1
  440.             ownerdraw    CG_PLAYER_GAMETYPE_ITEMS
  441.             decoration
  442.  
  443.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  444.         }
  445.     }
  446.  
  447.     // Health & armor.
  448.     menuDef
  449.     {
  450.         name "statusbar"
  451.         fullScreen 0
  452.         visible 1
  453.            rect 200 432 210 26
  454.  
  455.         itemDef 
  456.         {
  457.               name        "statusbar"
  458.             rect        0 0 215 27
  459.             style        WINDOW_STYLE_SHADER
  460.             background    "gfx/menus/hud/hud_health_back_mp.png"
  461.             visible        1
  462.             forecolor    1 1 1 1
  463.             backcolor    1 1 1 1
  464.             decoration
  465.  
  466.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  467.         }
  468.     
  469.  
  470.         itemDef
  471.         {
  472.             name        "armor"
  473.             rect        43 12 168 11
  474.             backcolor    .09 .129 .121 1 
  475.             border        1
  476.             bordercolor    0 0 0 1
  477.             visible        1
  478.             ownerwidth    CG_PLAYER_ARMOR
  479.             ownerdraw    CG_PLAYER_ARMOR
  480.  
  481.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  482.         }
  483.  
  484.         itemDef
  485.         {
  486.             name        "health"
  487.             style        WINDOW_STYLE_FILLED
  488.             rect        43 12 168 11
  489.             backcolor    .09 .129 .121 1 
  490.             border        1
  491.             bordercolor    0 0 0 1
  492.             visible        1
  493.             ownerwidth    CG_PLAYER_HEALTH_FADE
  494.  
  495.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  496.         }
  497.  
  498.         itemDef
  499.         {
  500.             name        "health"
  501.             style        WINDOW_STYLE_FILLED
  502.             rect        43 12 168 11
  503.             backcolor    1 .3 0 1
  504.             border        1
  505.             bordercolor    0 0 0 1
  506.             visible        1
  507.             ownerwidth    CG_PLAYER_HEALTH
  508.  
  509.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  510.             ownerdrawflag    CG_SHOW_ANYNONTEAMGAME
  511.         }
  512.  
  513.         itemDef
  514.         {
  515.             name        "health"
  516.             style        WINDOW_STYLE_FILLED
  517.             rect        43 12 168 11
  518.             backcolor    1 .1 .1 1
  519.             border        1
  520.             bordercolor    0 0 0 1
  521.             visible        1
  522.             ownerwidth    CG_PLAYER_HEALTH
  523.  
  524.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  525.             ownerdrawflag    CG_SHOW_ONREDTEAM
  526.             ownerdrawflag    CG_SHOW_ANYTEAMGAME
  527.         }
  528.  
  529.         itemDef
  530.         {
  531.             name        "health"
  532.             style        WINDOW_STYLE_FILLED
  533.             rect        43 12 168 11
  534.             backcolor    .3 .3 1 1
  535.             border        1
  536.             bordercolor    0 0 0 1
  537.             visible        1
  538.             ownerwidth    CG_PLAYER_HEALTH
  539.  
  540.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  541.             ownerdrawflag    CG_SHOW_ONBLUETEAM
  542.             ownerdrawflag    CG_SHOW_ANYTEAMGAME
  543.         }
  544.  
  545.         itemDef 
  546.         {
  547.               name        "statusbar"
  548.             rect        0 0 215 27
  549.             style        WINDOW_STYLE_SHADER
  550.             background    "gfx/menus/hud/hud_health_frame_mp.png"
  551.             visible        1
  552.             forecolor    1 1 1 1
  553.             backcolor    1 1 1 1
  554.             decoration
  555.  
  556.             ownerdrawflag    CG_SHOW_HUD_HEALTH
  557.         }
  558.     }
  559.  
  560.     // Selected weapon.
  561.     menuDef 
  562.     {
  563.         name            "hud_altweapon"
  564.         fullScreen        0
  565.         visible            1
  566.         rect            524 380 264 100
  567.             
  568.         itemDef
  569.         {
  570.             name            window
  571.             rect            -4 3 47 84
  572.             style            WINDOW_STYLE_SHADER
  573.             background        "gfx/menus/hud/hud_pop_out.png"
  574.             ownerdrawflag    CG_SHOW_PLAYER_ALT_WEAPONINFO
  575.             decoration
  576.         }
  577.  
  578.         itemDef
  579.         {
  580.             name            window
  581.             rect            -4 3 47 84
  582.             style            WINDOW_STYLE_SHADER
  583.             background        "gfx/menus/hud/hud_tab.png"
  584.             ownerdrawflag    CG_HIDE_PLAYER_ALT_WEAPONINFO
  585.             decoration
  586.         }
  587.  
  588.         itemDef
  589.         {
  590.             name            window
  591.             rect            3 0 21 8
  592.             textfont        "hud"
  593.             textscale        .26
  594.             forecolor        0 0 0 1
  595.             ownerdraw        CG_PLAYER_ALT_WEAPON_NAME
  596.             ownerdrawflag    CG_SHOW_PLAYER_ALT_WEAPONINFO
  597.             decoration
  598.         }
  599.  
  600.         itemDef
  601.         {
  602.             name            window
  603.             rect            8 24 22 40
  604.             forecolor        0 0 0 1
  605.             ownerdraw        CG_PLAYER_ALT_WEAPON_AMMOICON
  606.             ownerdrawflag    CG_SHOW_PLAYER_ALT_WEAPONINFO
  607.             decoration
  608.         }
  609.  
  610.         itemDef
  611.         {
  612.             name            window
  613.             rect            3 45 21 8
  614.             textfont        "lcdsmall"
  615.             textscale        .33
  616.             forecolor        0 0 0 1
  617.             ownerdraw        CG_PLAYER_ALT_WEAPON_AMMO
  618.             ownerdrawflag    CG_SHOW_PLAYER_ALT_WEAPONINFO
  619.             decoration
  620.         }
  621.     }
  622.  
  623.     // Selected weapon.
  624.     menuDef 
  625.     {
  626.         name            "selectedweapon"
  627.         fullScreen        0
  628.         visible            1
  629.         rect            524 380 264 100
  630.             
  631.         itemDef
  632.         {
  633.             name        "selectedprimary_back"
  634.             rect        16 0 84 84
  635.             style        WINDOW_STYLE_SHADER
  636.             background    "gfx/menus/hud/hud_back.png"
  637.             visible        1
  638.             decoration
  639.  
  640.             ownerdrawflag    CG_SHOW_HUD_WEAPONINFO
  641.         }
  642.  
  643.         itemDef
  644.         {
  645.             name        window
  646.             rect        34 -4 62 8
  647.             visible        1
  648.             textfont    "hud"
  649.             textscale    .33
  650.             forecolor    0 0 0 1
  651.             ownerdraw    CG_PLAYER_WEAPON_NAME
  652.             decoration
  653.  
  654.             ownerdrawflag    CG_SHOW_HUD_WEAPONINFO
  655.         }
  656.  
  657.         itemDef
  658.         {
  659.             name        window
  660.             rect        35 10 60 14
  661.             visible        1
  662.             textstyle    ITEM_TEXTSTYLE_SHADOWED
  663.             textfont    "lcdsmall"
  664.             forecolor    0 0 0 .25
  665.             ownerdraw    CG_PLAYER_WEAPON_CLIP
  666.             decoration
  667.  
  668.             ownerdrawflag    CG_SHOW_HUD_WEAPONINFO
  669.         }
  670.  
  671.         itemDef
  672.         {
  673.             name        window
  674.             rect        32 7 60 14
  675.             visible        1
  676.             textstyle    ITEM_TEXTSTYLE_SHADOWED
  677.             textfont    "lcdsmall"
  678.             forecolor    0 0 0 1
  679.             ownerdraw    CG_PLAYER_WEAPON_CLIP
  680.             decoration
  681.  
  682.             ownerdrawflag    CG_SHOW_HUD_WEAPONINFO
  683.         }
  684.  
  685.         itemDef
  686.         {
  687.             name        window
  688.             rect        34 48 62 8
  689.             visible        1
  690.             textfont    "lcdsmall"
  691.             textscale    .33
  692.             forecolor    0 0 0 1
  693.             ownerdraw    CG_PLAYER_WEAPON_AMMO
  694.             decoration
  695.  
  696.             ownerdrawflag    CG_SHOW_HUD_WEAPONINFO
  697.         }
  698.  
  699.         itemDef
  700.         {
  701.             name        window
  702.             rect        34 61 62 8
  703.             visible        1
  704.             textfont    "hud"
  705.             textscale    .33
  706.             forecolor    0 0 0 1
  707.             ownerdraw    CG_PLAYER_WEAPON_MODE
  708.             decoration
  709.  
  710.             ownerdrawflag    CG_SHOW_HUD_WEAPONINFO
  711.         }
  712.     }
  713.  
  714.     // visual weapon list
  715.     menuDef
  716.     {
  717.         name "weaponlist"
  718.         fullScreen 0
  719.         visible 1
  720.            rect 0 32 320 320
  721.     
  722.         itemDef 
  723.         {
  724.                name "Weapon List"
  725.             rect 0 0 320 320
  726.             visible 1
  727.             decoration
  728.             textstyle ITEM_TEXTSTYLE_SHADOWED
  729.             forecolor 1 1 1 0.3
  730.             ownerdraw CG_WEAPON_LIST
  731.         }
  732.     }
  733. }